#ifndef __UART_H__
#define __UART_H__
#define COM2 "/dev/ttySAC1"
#define COM3 "/dev/ttySAC2"
#define COM4 "/dev/ttySAC3"
typedef struct Data{
    double lux,tem,press,humid,height;
}Data;
// 串口的初始化
int init_serial(const char *file, int baudrate);
void* get_gy39(void *arg);

#endif // !__UART_H__